package com.bridge.self;

public abstract class Phone {

    public Brand brand;

    public Phone(Brand brand) {
        this.brand = brand;
    }

    public void openPhone(){
        this.brand.open();
    }

    public void working(){
        this.brand.working();
    }

    public void closePhone(){
        this.brand.close();
    }
}
